define(function (require) {

    require('./template-tpl');
    require('./rule-tpl');

    var Tpl = juicer.templates['template.juicer.html'];

    var TplRule = juicer.templates['rule.juicer.html'];

    var version = {
        build:function(data){
            return Tpl({
                "data": data
            });
        },
        /**
         * 规则
         * @param data
         * @returns {*}
         */
        buildRule:function(data){
            return TplRule({
                "data": data
            });
        }
    };
    return version;

});